using System;
using System.Collections.Generic;
using System.Text;

namespace ModelDto
{
     public  class MenuResponse
      {
          /// <summary>
         /// 菜单名称
          /// </summary>
          public string MenuName { get; set; }

          /// <summary>
         /// 菜单代码
          /// </summary>
          public string Code { get; set; }

          /// <summary>
         /// 图标
          /// </summary>
          public string Icon { get; set; }

          /// <summary>
         /// 地址
          /// </summary>
          public string LinkUrl { get; set; }

          /// <summary>
         /// 父级菜单ID
          /// </summary>
          public string ParentId { get; set; }

          /// <summary>
         /// 菜单登记 1 一级  2 二级 以此类推
          /// </summary>
          public int Level { get; set; }

          /// <summary>
         /// 1 启用 2 禁用 等其他
          /// </summary>
          public int EnableState { get; set; }

          /// <summary>
         /// 排序
          /// </summary>
          public int Sort { get; set; }

          /// <summary>
         /// 主键
          /// </summary>
          public string Id { get; set; }

          /// <summary>
         /// 创建时间
          /// </summary>
          public DateTime CreateTime { get; set; }

          /// <summary>
         /// 备注
          /// </summary>
          public string Remark { get; set; }

          public List<PermissionData> data { get; set; }

          /// <summary>
         /// 预留字段
          /// </summary>
          public string Extend1 { get; set; }

          /// <summary>
         /// 预留字段
          /// </summary>
          public string Extend2 { get; set; }

          /// <summary>
         /// 预留字段
          /// </summary>
          public string Extend3 { get; set; }

      }
    public class PermissionData
    {
        public string Name { get; set; }
        public string Code { get; set; }
        public string Id { get; set; }
        public bool IsCheck { get; set; }
    }
    public class PermissionDataV1
    {
        public string MenuId { get; set; }
        public string Name { get; set; }
        public string Code { get; set; }
        public string Id { get; set; }
        public bool IsCheck { get; set; }
    }
}
